#include "HierarchyXFile.h"
#include "CompositeMesh.h"
#include "D3dx9anim.h"
#include "../graphics/Graphics.h"

namespace leo {

HierarchyXFile::HierarchyXFile(Graphics& _graphics)
:
graphics(_graphics)
{

}

HierarchyXFile::~HierarchyXFile(void)
{
}

bool HierarchyXFile::LoadMesh(CompositeMesh& _CompMesh, const std::string& _Filename)
{
	fileName = _Filename;  

/*	LPD3DXALLOCATEHIERARCHY compMesh;

	HRESULT hr = D3DXLoadMeshHierarchyFromX(fileName.c_str(),
									D3DXMESH_SYSTEMMEM,
									graphics.GetDevice(),
									compMesh,
									NULL,
									NULL,
									NULL);
	if(hr != D3D_OK)
		return false;
*/
	return false;
}
}